package api

import (
	"gin-sns/app/controller/api/login"
	"gin-sns/app/ginframe/router"
	"gin-sns/app/service/middleware/jwt"
)

func init() {
	group1 := router.New("api", "/v1")
	group1.POST("/login", "", login.LoginApi.Login)
	group2 := router.New("api", "/v1/api", jwt.JWTAuthMiddleware())
	group2.POST("/test", "api", login.LoginApi.Test)

	//g3 := router.New("api", "/v1/api/auth")
	//g3.POST("/siginup", "", login.PostSignup)
	//g3.POST("/siginin", "", login.PostSignin)
}
